package com.xy.biz.base.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListDictItemRequest {

    private Integer pageIndex;

    private Integer pageSize;

    /**
     * 字典分组编码
     */
    private String dictGroupCode;

    /**
     * 字典编码
     */
    private String dictCode;
    /**
     * 父字典编码
     */
    private String parentDictCode;
    /**
     * 字典分组编码
     */
    private List<String> dictGroupCodes;
    /**
     * 父字典Id
     */
    private Long parentDictId;

    /**
     * 是否查询属性
     */
    private Boolean withProperty;
    /**
     * 是否查询属性
     */
    private Boolean withChildren;

}
